<template>
	<view class="subject-container">
		<view>
			<text>今天：</text>
			<text>{{getToday()}}</text>
		</view>
		<view>
			<text>计算：</text>
			<text>{{0.1+0.2}}</text>
		</view>
		<view>
			<text>计算：</text>
			<text>{{jia()}}</text>
		</view>
	</view>
</template>

<script>
	import dateUtil  from '@/utils/dateUtil.js';
	import calc from '@/utils/calc.js'
	export default {
		data() {
			return {
				
			};
		},
		onShow() {
			this.$toast()
		},
		methods:{
			getToday(){
				return dateUtil.getWeekDay()
			},
			jia(){
				return calc.jia(0.1,0.2)
			}
			
		}
	}
</script>

<style lang="scss" scoped>
.subject-container{
	
}
</style>
